mdl::alg::base::normalmapping¶
Definitions:¶
[1/1] ‘mdl::alg::base::normalmapping::custom_tangent_space_normal_texture(texture_2d,float,bool,bool,::base::texture_coordinate_info,float2,float2,::tex::wrap_mode,::tex::wrap_mode,bool,float,float)’¶
Description: ‘Interprets the color values of a bitmap as a vector in tangent space’
- SDPropertyCategory = ‘Input’
- ‘texture’ [CONNECTABLE]
Description: ‘The input texture’
- Types:
‘mdl::texture_2d’ (SDMDLTypeTextureReference) [Uniform]
- ‘factor’ = SDValueFloat(float(1)) [CONNECTABLE]
Description: ‘Determines the degree of bumpiness’
- Types:
‘float’ (SDTypeFloat) [Uniform]
- ‘flip_tangent_u’ = SDValueBool(bool(false)) [CONNECTABLE]
Description: ‘Can be used to fix mismatches between the object’s tangent space and the normal map’s tangent space’
- Types:
‘bool’ (SDTypeBool) [Uniform]
- ‘flip_tangent_v’ = SDValueBool(bool(false)) [CONNECTABLE]
Description: ‘Can be used to fix mismatches between the object’s tangent space and the normal map’s tangent space’
- Types:
‘bool’ (SDTypeBool) [Uniform]
- ‘uvw’ = SDMDLValueCall(mdl::base::texture_coordinate_info(float3,float3,float3)__default_call___461) [CONNECTABLE]
Description: ‘Parameterization to be used for texture mapping. Defaults to texture channel 0.’
- Types:
‘mdl::base::texture_coordinate_info’ (SDTypeStruct)
- ‘crop_u’ = SDValueFloat2(float2(0,1)) [CONNECTABLE]
Description: ‘Restricts the texture access to sub-domain of the texture in the u direction’
- Types:
‘float2’ (SDTypeFloat2) [Uniform]
- ‘crop_v’ = SDValueFloat2(float2(0,1)) [CONNECTABLE]
Description: ‘Restricts the texture access to sub-domain of the texture in the v direction’
- Types:
‘float2’ (SDTypeFloat2) [Uniform]
- ‘wrap_u’ = SDValueEnum(“mdl::tex::wrap_mode”,1) [CONNECTABLE]
Description: ‘Wrapping mode in the u direction’
- Types:
‘mdl::tex::wrap_mode’ (SDTypeEnum) [Uniform]
- ‘wrap_v’ = SDValueEnum(“mdl::tex::wrap_mode”,1) [CONNECTABLE]
Description: ‘Wrapping mode in the v direction’
- Types:
‘mdl::tex::wrap_mode’ (SDTypeEnum) [Uniform]
- ‘clip’ = SDValueBool(bool(false)) [CONNECTABLE]
Description: ‘deprecated, usewrap_mode=tex::wrap_clip. Defines wrap_clamp behavior. If true, lookup outside [0,1] results in no bump’
- Types:
‘bool’ (SDTypeBool) [Uniform]
- ‘scale’ = SDValueFloat(float(1)) [CONNECTABLE]
Description: ‘Scales the value red from the texture file. Can be used to adapt to different normal map formats’
- Types:
‘float’ (SDTypeFloat) [Uniform]
- ‘offset’ = SDValueFloat(float(0)) [CONNECTABLE]
Description: ‘Offset applied to the value red from the texture file. Can be used to adapt to different normal map formats’
- Types:
‘float’ (SDTypeFloat) [Uniform]
- SDPropertyCategory = ‘Output’
- ‘output’ [CONNECTABLE, READ_ONLY]
- Types:
‘float3’ (SDTypeFloat3)